package com.zsx.shopping.common.api.order.enums;

public enum OrderStatus {

    AWAITING((byte) 1, "等待付款"),

    COMPLETED((byte) 5, "已完成"),

    CANCEL((byte) 6, "已取消"),

    CLOSED((byte) 7, "已关闭");

    private Byte code;

    private String message;

    OrderStatus(Byte code, String message) {
        this.code = code;
        this.message = message;
    }

    public Byte getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
